package org.example;

/**
 * @author liyuehui
 * @time 2024/6/3 20:35
 */
public class Test2 {
    public static void main(String[] args) {
        Product product = new Product();
        new Thread(() -> {
            try {
                product.sell();
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }).start();
    }
}
